<!DOCTYPE html>
<html>

<head>
	<meta charset="utf-8" />
	<meta name="viewport"
		content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
	<title></title>
	<link rel="stylesheet" href="../../css/common.css">
	<link rel="stylesheet" href="./css/vip-not-opened.css">
</head>

<body>
	<div id="app">
		<div class="vip-not-opened">

		</div>

		<div class="button-box">
			
		</div>
	</div>
</body>
<script type="text/javascript" src="../../js/v3.2.8/vue.global.prod.js" charset="utf-8"></script>
<script type="text/javascript" src="../../js/uni.webview.1.5.4.js"></script>
<script type="text/javascript" src="../../js/userAgent.js"></script>
<script type="text/javascript" src="../../js/common.js"></script>
<script type="text/javascript">
	const App = {
		data() {
			return {
				counter: 0
			}
		},
		created() {
			console.log("Vue -> 加载完成")
			uni.getEnv(function (res) {
				console.log('当前环境：' + JSON.stringify(res));
			});
			this.titleHanlder();
		},
		methods: {
			// 页面title充当传参
			titleHanlder() {
				document.title = JSON.stringify({
					title: "活动详情",
					data: Date.now()
				})
			},

			gogo() {
				this.counter++
				location.href = "http://www.baidu.com"
				// window.location.href = "./activitis/vip-not-opened.html";
			}
		}
	};

	document.addEventListener('UniAppJSBridgeReady', function () {
		console.log("UniAppJSBridgeReady -> 加载完成")
		Vue.createApp(App).mount('#app');
	})
</script>

</html>